function toast(title, duration = 1500, icon = 'none', position = 'top') {
  uni.showToast({
    title: title,
    icon: icon,
    mask: true,
    duration: duration,
    position: position
  })
}

export default toast
